#Alias /robots.txt  /etc/hyperkitty/sites/default/static/robots.txt
#Alias /favicon.ico /etc/hyperkitty/sites/default/static/favicon.ico
Alias /hyperkitty/static      /var/lib/hyperkitty/sites/default/static

#ErrorLog /var/log/httpd/hyperkitty_error.log
#CustomLog /var/log/httpd/hyperkitty_access.log combined

WSGIScriptAlias /hyperkitty /etc/hyperkitty/sites/default/wsgi.py
WSGIDaemonProcess hyperkitty threads=25 python-path=/etc/hyperkitty/sites/default
# If using VirtualEnv
#WSGIDaemonProcess hyperkitty threads=25 python-path=/etc/hyperkitty/sites/default:/path/to/your/venv/lib/python2.X/site-packages
WSGISocketPrefix run/wsgi

<Directory "/etc/hyperkitty/sites/default">
    <Files wsgi.py>
        Order deny,allow
        Allow from all
        Require all granted
    </Files>
    WSGIProcessGroup hyperkitty
</Directory>

<Directory "/var/lib/hyperkitty/sites/default/static">
    Order deny,allow
    Allow from all
    Require all granted
</Directory>
